
<table class="table table-striped">
    <thead>
    <tr>

        <th>编号</th>
        <th>标题</th>
    </tr>
    </thead>
    <tbody>
    @foreach($courses as $course)
        <tr>
            <td scope="row">{{$course->id}}</td>
            <td>{{$course->title}}</td>
        </tr>
    @endforeach
    </tbody>
</table>
<style type="text/css">
    li > span{
        cursor:pointer;
    }
    tr > td > a{
        cursor:pointer;
    }
</style>